//
//  WSManager.h
//  mUBB
//
//  Created by Cosmin Stirbu on 1/13/13.
//  Copyright (c) 2013 Cosmin Stirbu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Constants.h"
#import "UserDefaultsManager.h"
#import "ConnectionDelegate.h"
#import "Ticket.h"

@interface WSManager : NSObject {
    @private
    // Connection Delegate
    ConnectionDelegate *connectionDelegate;
    
    // Ticket Id
    long ticketId;
}

// Singleton Instance
+ (WSManager *)instance;

// HTTP GET Request
- (void)getRequestWithUrl:(NSString *)url andHeaders:(NSDictionary *)headers;

// HTTP POST Request
- (void)postRequestWithUrl:(NSString *)url body:(NSString *)body andHeaders:(NSDictionary *)headers;

// HTTP PUT Request
- (void)putRequestWithUrl:(NSString *)url body:(NSString *)body andHeaders:(NSDictionary *)headers;

// HTTP DELETE Request
- (void)deleteRequestWithUrl:(NSString *)url body:(NSString *)body andHeaders:(NSDictionary *)headers;



@end
